package cn.hfjava.crm;

import java.util.Scanner;

public class IncomeTax {
    public static void main(String[] args) {
        Scanner sc =new Scanner(System.in);
        System.out.print("请输入员工的姓名：");
        String name =sc.next();
        System.out.print("请输入基本工资：");
        double salary =sc.nextDouble();
        System.out.print("请输入加班补贴：");
        double subsidy =sc.nextDouble();
        Employee zhangHai =new Employee();
        zhangHai.name =name;
        zhangHai.salary =salary;
        zhangHai.subsidy =subsidy;
        double money =zhangHai.calaIncomeTax();
        System.out.print("实发工资："+money);


    }
}
